package com.ydd.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("文章列表分页发送的数据格式")
public class ArticlePageDTO implements Serializable {
    @ApiModelProperty("开始时间戳")
    private Long start_time;
    @ApiModelProperty("结束时间戳")
    private Long end_time;
    @ApiModelProperty("文章标题")
    private String title;
    @ApiModelProperty("文章分类id")
    private Integer cateid;
    @ApiModelProperty("文章页码")
    private Integer page;
    @ApiModelProperty("每页数量")
    private Integer limit;

}
